.selectWrapper {
  position: relative;
  display: inline-block;
  width: auto;
}

.select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 12px 16px;
  padding-right: 52px; // 16px base + 24px gap + 12px arrow width
  background: #f1f1f1;
  border: none;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0em;
  color: #808080;
  cursor: pointer;
  outline: none;
  box-sizing: border-box;
  min-width: 120px;

  &--disabled {
    cursor: not-allowed;
    opacity: 0.6;
  }
}

.selectedText {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit;
}

.arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 7px;
  transition: transform 0.2s ease;

  &--open {
    transform: translateY(-50%) rotate(180deg);
  }
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  margin-top: 4px;
}

.option {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 12px 16px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #333333;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f1f1f1;
  box-sizing: border-box;

  &:last-child {
    border-bottom: none;
  }

  &:hover {
    background: #f9f9f9;
  }

  &--selected {
    color: #ff6f3d;
    font-weight: 600;
  }
}
